const actions = {
  setFileName: ({ commit }, fileName) => {
    return commit('aSetFileName', fileName)
  },
  setMenuVisible: ({ commit }, menuVisible) => {
    return commit('aSetMenuVisible', menuVisible)
  },
  setSettingVisible: ({ commit }, settingVisible) => {
    return commit('aSetSettingVisible', settingVisible)
  },
  setDefaultFontSize: ({ commit }, defaultFontSize) => {
    return commit('aSetDefaultFontSize', defaultFontSize)
  },
  setFontFamilyVisible: ({ commit }, visible) => {
    return commit('aSetFontFamilyVisible', visible)
  },
  setDefaultFontFamily: ({ commit }, font) => {
    return commit('aSetDefaultFontFamily', font)
  },
  setDefaultTheme: ({ commit }, theme) => {
    return commit('aSetDefaultTheme', theme)
  },
  setBookAvailable: ({ commit }, bookAvailable) => {
    return commit('aSetBookAvailable', bookAvailable)
  },
  setProgress: ({ commit }, progress) => {
    return commit('aSetProgress', progress)
  },
  setSection: ({ commit }, section) => {
    return commit('aSetSection', section)
  },
  setIsPaginating: ({ commit }, isPaginating) => {
    return commit('aSetIsPaginating', isPaginating)
  },
  setCurrentBook: ({ commit }, book) => {
    return commit('aSetCurrentBook', book)
  },
  setNavigation: ({ commit }, navigation) => {
    return commit('aSetNavigation', navigation)
  },
  setCover: ({ commit }, cover) => {
    return commit('aSetCover', cover)
  },
  setMetadata: ({ commit }, metadata) => {
    return commit('aSetMetadata', metadata)
  },
  setPaginate: ({ commit }, paginate) => {
    return commit('aSetPaginate', paginate)
  },
  setPagelist: ({ commit }, pagelist) => {
    return commit('aSetPagelist', pagelist)
  },
  setIsBookmark({ commit }, isBookmark) {
    return commit('aSetIsBookmark', isBookmark)
  },
  setOffsetY({ commit }, offsetY) {
    return commit('aSetOffsetY', offsetY)
  },
  setHotSearchOffsetY({ commit }, offsetY) {
    return commit('aSetHotSearchOffsetY', offsetY)
  },
  setFlapCardVisible({ commit }, visible) {
    return commit('aSetFlapCardVisible', visible)
  },
  setIsInputMode: ({ commit }, ifInputClicked) => {
    return commit('aSetIsInputMode', ifInputClicked)
  },
  setIsEditMode({ commit }, isEditMode) {
    return commit('aSetIsEditMode', isEditMode)
  },
  setShelfList({ commit }, list) {
    return commit('aSetShelfList', list)
  },
  setShelfSelected({ commit }, selected) {
    return commit('aSetShelfSelected', selected)
  },
  setShelfTitleVisible({ commit }, visible) {
    return commit('aSetShelfTitleVisible', visible)
  },
  setShelfCategory({ commit }, category) {
    return commit('aSetShelfCategory', category)
  },
  setCurrentType({ commit }, type) {
    return commit('aSetCurrentType', type)
  }
}
export default actions
